package button;

import java.awt.*;
import javax.swing.JButton;
import javax.swing.JPanel;

public class Panel extends JPanel {

    private static final int HEIGHT = 100;
    private static final int WIDTH = 300;

    private Przycisk Button;

    public Panel() {
        Button = new Przycisk();

        setLayout(new FlowLayout());
        setPreferredSize(new Dimension(WIDTH, HEIGHT));
        add(Button);
    }
}
